//
//  MyInfoCarInfoCell.m
//  KuWeiPark
//
//  Created by Kevin Su on 15/5/5.
//  Copyright (c) 2015年 Clief. All rights reserved.
//

#import "MyInfoCarInfoCell.h"

@implementation MyInfoCarInfoCell

- (void)awakeFromNib {
    // Initialization code
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)initDataWithCarListModel:(MyCarListModel *)carModel{
    
    self.carNoLabel.text = carModel.carnumber;
    
    if([carModel.isPrimary integerValue] == 1){
        
        self.primaryLabel.text = @"主车牌";
    }else{
        
        self.primaryLabel.text = @"";
    }
}

@end
